#include <iostream>
#include "gui/VisualComponents/ArrowLine.h"

ArrowLine::ArrowLine() :
		ArrowHead(), line_color_("black"), fill_color_("white") {
	arrow_lenght_ = 7.0;
}

void ArrowLine::draw(Cairo::RefPtr< Cairo::Context > context_ref, double start_x, double start_y, double end_x, double end_y)
{
	context_ref->set_source_rgb (line_color_.get_red_p(), line_color_.get_blue_p(), line_color_.get_green_p());
	context_ref->move_to (start_x, start_y);
	context_ref->line_to (end_x, end_y);
}
